﻿@model Fengsoft.AIBlog.Web.Models.GalleryThumbnailListModel
@{
    ViewBag.Title=SiteConfiguration.CombineTitle(Model.GalleryName);
    Layout = "~/Views/Shared/_HeaderFooterLayout.cshtml";
}
@section head{
}
@section scripts{
}
<!--=== Breadcrumbs ===-->
<div class="breadcrumbs">
    <div class="container">
        <h1 class="pull-left">@Model.GalleryName</h1>
        <ul class="pull-right breadcrumb">
            <li>
                <a href="~/home/index">@HomeResource.MainPageTitle</a>
            </li>
            <li>
                <a href="~/gallery/index">Galleries</a>
            </li>
            <li class="active">@Model.GalleryName</li>
        </ul>
    </div>
</div><!--/breadcrumbs-->
<!--=== End Breadcrumbs ===-->
<!--=== Content Part ===-->
<div class="container content">
    @Html.Partial("_juicyadspartial","Leaderboard")
    <div class="gallery-page">
        <div class="row margin-bottom-20">
            @foreach (ThumbnailModel thumbnail in Model.Gallery)
            {
                <div class="col-md-3 col-sm-6">      
                    <a class="thumbnail" title="@thumbnail.Title" href="@Url.Content(thumbnail.ImageViewerUrl)">
                        <img alt="@thumbnail.Title" src="@Url.Content(thumbnail.ThumbnailUrl)" class="img-responsive" />
                    </a>
                </div>
            }
        </div>
    </div>
    <div class="text-center">@Html.Partial("_pagerpartial",Model.GalleryPager)</div>
    @Html.Partial("_plugrushpartial","Leaderboard")
</div>
<!--=== End Content Part ===-->